]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
introspection: Fix use of pango_font_description_from_string()
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 8 Sep 2010 13:35:33 +0000 (15:35 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 8 Sep 2010 13:37:33 +0000 (15:37 +0200)
js/ui/lookingGlass.js

index 19059da2aebeda809b51094b6a15b9d32f21a676..19b8f19b27b574837e69a1fa977a8dfe59df3f54 100644 (file)
@@ -782,7 +782,7 @@ LookingGlass.prototype = {
         let fontName = gconf.get_string('/desktop/gnome/interface/monospace_font_name');
         // This is mishandled by the scanner - should by Pango.FontDescription_from_string(fontName);
         // https://bugzilla.gnome.org/show_bug.cgi?id=595889
-        let fontDesc = Pango.Font.description_from_string(fontName);
+        let fontDesc = Pango.font_description_from_string(fontName);
         // We ignore everything but size and style; you'd be crazy to set your system-wide
         // monospace font to be bold/oblique/etc. Could easily be added here.
         this.actor.style =